package com.shop.admin.service;

import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzAdminUser;
import org.springframework.stereotype.Service;

@Service
public interface AdminUserService {

    LdbzResult countAdminUser(LdbzAdminUser entity);
    LdbzResult getAdminUserPage(LdbzAdminUser entity,int pn,int limit);
    LdbzResult selectByKey(Long id);
    LdbzResult deleteByKey(String id);
    LdbzResult insertByEntity(LdbzAdminUser entity);
    LdbzResult updateByKey(LdbzAdminUser entity);
}
